package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Role;
import com.itheima.pojo.User;

import java.util.List;

public interface UserDao {
    public User findByUsername(String username);

    void add(User user);

    Page<Role> selectByCondition(String queryString);

    List<User> findAll();
}
